<%--
  Created by IntelliJ IDEA.
  User: oldliu
  Date: 2022/8/29
  Time: 17:26
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
  <%
      Cookie[] cookies = request.getCookies();
      for(int i=0;cookies!=null &&i<cookies.length;i++){
          out.print(cookies[i].getName()+"==="+cookies[i].getValue()+"<br/>");
      }
  %>
<h2>
    <%
        out.print(session.getId());
    %>
</h2>
</body>
</html>
